home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d18
/
turbotut.arc
/
WHILELP.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1989-06-30
|
281 b
|
14 lines
PROGRAM while_loop_example;
VAR counter : INTEGER;
BEGIN
counter := 4;
WHILE counter < 20 DO
BEGIN
WRITE('We are in the WHILE loop, waiting ');
WRITE('for the counter to reach 20. It is',counter:4);
WRITELN;
counter := counter + 2;
END;
END.